package com.astrocsr.common;

public final class Constants {

	// MERCHANT NAME
	public static final String MERCHANT = "ASTRO";

	// NUMBER OF MONTHS TO DOWNLOAD BILL
	public static final String REPORT_NUM_OF_MONTHS = "report.download.numOfMonth";
	
	// GROUP
	public static final String GROUP_ASTRO_ADMIN = "ASTRO_ADMIN";
  	
	// User Status
	public static final String STATUS_RESET  = "1"; // need to change pass 
		
	//Parameter Name
	public static final String PARAM_NAME_TECH = "TECH";
	
	//Parameter for Security List
  	public static final String PARAM_PASSWORD_REG_EXPR 			="PWD_EXPR";
  	public static final String PARAM_PASSWORD_RESET_FLAG 		="PWD_RESET";
  	public static final String PARAM_TOTAL_PASSWORD_HIST 		="T_PWD_HIST";
  	public static final String PARAM_PWD_EXPIRY_WARNING_DAYS	="PWD_WAN_D";
  	public static final String PASSWORD_RESET_FLAG 				="PwdResetFlag";
  	public static final String PARAM_PWD_MAX_LEN 				="PwdMaxLen";
  	public static final String PARAM_PWD_MIN_LEN 				="PwdMinLen";
  	public static final String PARAM_TIMEOUT_INTEV 				="TimeoutITV";
  	public static final String PARAM_PWD_BAD_ATTEMP 			="PwdBadAttp";
  	public static final String PARAM_PWD_EXPIRED_DAYS 			="PwdExpDays";
  	
  	
  	//Parameter default value
  	public static final int PARAM_TOTAL_PASSWORD_HIST_DEFAULT 	=0;
  	public static final int PARAM_PWD_MAX_LEN_DEFAULT 			=10;
  	public static final int PARAM_PWD_MIN_LEN_DEFAULT			=1;
  	public static final int PARAM_TIMEOUT_INTEV_DEFAULT			=30;
  	public static final int PARAM_PWD_BAD_ATTEMP_DEFAULT		=3;
  	public static final int PARAM_PWD_EXPIRED_DAYS_DEFAULT   	=30;
  	
  
  	// CONSTANT
  	public static final String YES = "Y";
  	public static final String NO  = "N";
  	
  	// Special separator
  	public static final String SPLIT = "---";
  	
 	//Access right
 	public static final String RoleType = "00";
 	public static final String treeType = "00"; 
  	public static final String ReadFlag = "01"; 
 	public static final String UpdateFlag = "01";
 	public static final String WriteFlag = "01"; 
 	
 	// Result Return
 	public static final String DENIED = "denied";
 	

 	//LOG ACCT_TYPE Security List
	public static final String LOG_ACCT_TYPE_ACCESS		= "ACCESS";
	public static final String LOG_ACCT_TYPE_ACTIVITY	= "ACTIVITY";

	//START: LOG Access code Audit log
	public static final String LOG_AcccessCode_Login		= "LOGIN";
	public static final String LOG_AcccessCode_Logout		= "LOGOUT";
	public static final String LOG_AcccessCode_ChangePwd	= "CHANGEPWD";
	//END: LOG Access code Audit log
	
	//START: LOG Access Name
	public static final String LOG_AcccessName_Login		= "LOGIN";
	public static final String LOG_AcccessName_Logout		= "LOGOUT";
	public static final String LOG_AcccessName_ChangePwd	= "CHANGE PASSWORD";
	//END: LOG Access Name
	
	/*******************/
	//START: LOG Activity code Audit log
	//System Maintenance
	public static final String LOG_ActCode_Group_Add		= "SMT0011";
	public static final String LOG_ActCode_Group_DEL		= "SMT0012";
	public static final String LOG_ActCode_Group_UPT		= "SMT0013";
	public static final String LOG_ActCode_Group_SER		= "SMT0014";
	
	public static final String LOG_ActCode_Module_Add		= "SMT0021";
	public static final String LOG_ActCode_Module_DEL		= "SMT0022";
	public static final String LOG_ActCode_Module_UPT		= "SMT0023";
	public static final String LOG_ActCode_Module_SER		= "SMT0024";
	
	public static final String LOG_ActCode_AccessRights_Add	= "SMT0031";
	public static final String LOG_ActCode_AccessRights_DEL	= "SMT0032";
	public static final String LOG_ActCode_AccessRights_UPT	= "SMT0033";
	public static final String LOG_ActCode_AccessRights_SER	= "SMT0034";

	public static final String LOG_ActCode_Account_Assign	= "SMT0041";
	public static final String LOG_ActCode_Account_Remove	= "SMT0042";
	public static final String LOG_ActCode_Account_SER		= "SMT0043";

	//Report
	public static final String LOG_ActCode_Auditlog_SER		= "RPT001";

	//System Setting
	public static final String LOG_ActCode_Parameter_Setting = "SSM001";
	
	//User Management
	public static final String LOG_ActCode_User_Add			= "CAM0011";
	public static final String LOG_ActCode_User_DEL			= "CAM0012";
	public static final String LOG_ActCode_User_UPT			= "CAM004";
	public static final String LOG_ActCode_User_SER			= "CAM0013";
	
	//Bill Management
	public static final String LOG_ActCode_Bill_Download	= "BEQ001";
	
	//Change Password
	public static final String LOG_ActCode_Change_Password	= "PRF001";
	
	//END: LOG Activity code Audit log
	
	
	//START: LOG Activity Name
	//System Maintenance
	public static final String LOG_ActName_Group_Add		= "ADD GROUP";
	public static final String LOG_ActName_Group_DEL		= "DELETE GROUP";
	public static final String LOG_ActName_Group_UPT		= "UPDATE GROUP";
	public static final String LOG_ActName_Group_SER		= "SEARCH GROUP";
	
	public static final String LOG_ActName_Module_Add		= "ADD MODULE";
	public static final String LOG_ActName_Module_DEL		= "DELETE MODULE";
	public static final String LOG_ActName_Module_UPT		= "UPDATE MODULE";
	public static final String LOG_ActName_Module_SER		= "SEARCH MODULE";
	
	public static final String LOG_ActName_AccessRights_Add	= "ADD ACCESS RIGHT";
	public static final String LOG_ActName_AccessRights_DEL	= "DELETE ACCESS RIGHT";
	public static final String LOG_ActName_AccessRights_UPT	= "UPDATE ACCESS RIGHT";
	public static final String LOG_ActName_AccessRights_SER	= "SEARCH ACCESS RIGHT";

	public static final String LOG_ActName_Account_Assign	= "ASSIGN ACCOUNT";
	public static final String LOG_ActName_Account_Remove	= "REMOVE ACCOUNT";
	public static final String LOG_ActName_Account_SER		= "SEARCH ACCOUNT";

	//Report
	public static final String LOG_ActName_Auditlog_SER		= "SEARCH AUDIT LOG";

	//System Setting
	public static final String LOG_ActName_Parameter_Setting = "SET PARAMETER";
	
	//User Management
	public static final String LOG_ActName_User_Add			= "ADD USER";
	public static final String LOG_ActName_User_DEL			= "DELETE USER";
	public static final String LOG_ActName_User_UPT			= "UPDATE USER";
	public static final String LOG_ActName_User_SER			= "SEARCH USER";
	
	//Bill Management
	public static final String LOG_ActName_Bill_Download	= "DOWNLOAD BILL";
	
	//Change Password
	public static final String LOG_ActName_Change_Password	= "CHANGE PASSWORD";
	
	//END: LOG Activity Name
	
	//STATUS
	public static final String LOG_STATUS_NEW			= "00";

}